package day240131;

public class Telephone {
    public static void main(String[] args) {

        Phone huawei = new Phone("华为","华为 P60 pro");

        Phone xiaomi = new Phone("小米","小米 Redmi Note 9");

        System.out.println(huawei.name);
        huawei.call("15985820211");
        huawei.msg("19900000000","阿巴阿巴");

        System.out.println("=== === ===");

        System.out.println(xiaomi.name);
        xiaomi.call("18859581075");
        xiaomi.msg("19900000000","玛卡巴卡");
    }
}
